package com.william.mysqldata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 问答数据库
 * </p>
 *
 * @author william
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Faq implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 问题
     */
    private String question;

    /**
     * 回答
     */
    private String answer;

    /**
     * 来源
     */
    private Integer origin;

    /**
     * 问答状态，是否启用等
     */
    private Integer state;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 词向量值
     */
    private String word2vec;


}
